function [v] = Full_LK_alg( I1, I2, lambda, mask, num_iterations)
%FULL_LK_ALG Summary of this function goes here
%   Detailed explanation goes here

    %convert images to double
    I1 = double(I1);
    I2 = double(I2);
    
    %blured and downsample those images for calculation of v_init
    bluredI1 = blur_dowsample(I1);
    bluredI2 = blur_dowsample(I2);
    
    %run single iteration of the algorithm for gaining the v_init
    v_init = LK_alg(bluredI1,bluredI2,lambda,mask(1:2:end,1:2:end),[0 0]',num_iterations);
    
    %run the iterative algoritm with the v_init we just calculated
    v = LK_alg(I1, I2, lambda, mask, 2*v_init, num_iterations);


end

